import request from '@/utils/request'

// 查询残疾人列表
export function listDisabled_person(query) {
  return request({
    url: '/report/disabled_person/list',
    method: 'get',
    params: query
  })
}

// 查询残疾人详细
export function getDisabled_person(id) {
  return request({
    url: '/report/disabled_person/' + id,
    method: 'get'
  })
}

// 新增残疾人
export function addDisabled_person(data) {
  return request({
    url: '/report/disabled_person',
    method: 'post',
    data: data
  })
}

// 修改残疾人
export function updateDisabled_person(data) {
  return request({
    url: '/report/disabled_person',
    method: 'put',
    data: data
  })
}

// 删除残疾人
export function delDisabled_person(id) {
  return request({
    url: '/report/disabled_person/' + id,
    method: 'delete'
  })
}
